package com.oneraku.service.service;

import com.oneraku.service.domain.*;
import com.oneraku.service.utils.R;

/**
 * @Author: hui.ren@huberbuy.com
 * @Date: 2020/4/6 13:20
 */
public interface IAdminService {
    R login(UserAdmin admin);
    R userinfo();
    R logout();

    R mangerList(UserAdmin userAdmin);

    R mangerAdd(UserAdmin userAdmin);

    R mangerDel(UserAdmin userAdmin);

    R mangerEdit(UserAdmin userAdmin);

    R merchantList(Merchant merchant);

    R merchantAdd(Merchant merchant);

    R merchantDel(Merchant merchant);

    R merchantEdit(Merchant merchant);

    R resetPassword(UserAdmin userAdmin);

    R initPassword(UserAdmin userAdmin);

    R selfEdit(UserAdmin userAdmin);

    R workOrderList(WorkOrder workOrder);

    R mangerSelect();

    R workOrderAssign(WorkOrder workOrder);

    R workOrderComments(WorkOrderComment comment);

    R addWorkOrderComments(WorkOrderComment comment);

    R agentBuyList(AgentSeckill agentSeckill);

    R agentBuyDeal(AgentSeckill agentSeckill);

    R operators(Operator operator);

    R agentBuySteps(String id);

    R merchantCategoryList();

    R merchantCategory(MerchantCategory merchant);
}
